const Router = require('@koa/router')
const router = new Router()

const { sign, reply } = require('../controllers/index')

router.get('/', sign)
router.post('/', reply)

// router.post('/', async (ctx, next) => {
//   await ctx.render('test', {
//     str: 'hello'
//   })
// })

module.exports = router